git-fix-longjmp
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 1 Dec 2020 07:42:44 +0000 (07:42 +0000)
committerAurelien Jarno <aurel32@debian.org>
Tue, 1 Dec 2020 07:42:44 +0000 (07:42 +0000)
commit33f62b0cd5b0be5dd94308fb46a862357ebb892a
treed1d89b1139d56cba257013d89dedba04aa579d88
parentdc0e9c1361fb65ac28f019e2ebacaf202dbf4890
git-fix-longjmp

Committed for glibc 2.32

commit 115bcf921a52005b89ff2859ccae4a8fc6d6deed
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Jul 18 15:08:03 2020 +0200

    hurd: Fix longjmp early in initialization

    When e.g. an LD_PRELOAD fails, _dl_signal_exception/error longjmps, but TLS
    is not initialized yet, let along signal state.  We thus mustn't look at
    them within __longjmp.

    * sysdeps/mach/hurd/i386/____longjmp_chk.S,__longjmp.S: Check for
    initialized value of %gs, and that sigstate is non-NULL.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-fix-longjmp.diff
sysdeps/mach/hurd/i386/____longjmp_chk.S
sysdeps/mach/hurd/i386/__longjmp.S